package com.rentong.wx.cust.dao;

import com.rentong.wx.cust.domain.CustServiceOrderTimeEntity;
import com.rentong.wx.cust.dto.ChefOrderVo;
import com.rentong.wx.cust.dto.CusServiceOrderInfoVo;
import com.rentong.wx.cust.dto.CustServiceOrderDto;
import com.rentong.wx.cust.dto.CustServiceOrderVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

/**
 *
 * @author zhangle
 * @email 459343178@qq.com
 * @date 2024-12-24 14:42:31
 */
@Mapper
public interface CustServiceOrderTimeDao extends BaseMapper<CustServiceOrderTimeEntity> {

    List<CustServiceOrderVo> getCustServiceOrderList(@Param("custServiceOrderDto") CustServiceOrderDto custServiceOrderDto);

    CusServiceOrderInfoVo getCusServiceOrderInfo(@Param("serviceOrderId") Long serviceOrderId); //返回的应该是list

    List<ChefOrderVo> getChefOrderList(@Param("custId") Long custId, @Param("type") Integer type, @Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize);

    List<CustServiceOrderTimeEntity> getServiceOrderTime(@Param("serviceOrderId") Long serviceOrderId);

    List<CustServiceOrderTimeEntity> getListByOrderId(@Param("serviceOrderId") Long serviceOrderId);

    List<ChefOrderVo> getChefOrder(@Param("custId") Long custId,@Param("chefState") Integer chefState);
}
